package com.es.www.deepCopy;

import java.io.Serializable;

/**
 * @Created by michangtao
 * @Date 2022/5/12 16:52
 * @Description
 */
public class Phone implements Cloneable, Serializable {

    private String phoneNum;

    public Phone(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    @Override
    public String toString() {
        return "Phone{" +
                "phoneNum='" + phoneNum + '\'' +
                '}';
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
